package com.wlanauth.service.manage;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.wlanauth.core.exception.ServiceException;
import com.wlanauth.domain.manage.Operator;
import com.wlanauth.domain.manage.User;
import com.wlanauth.service.common.CommonService;
/**
 * 用户
 * @author zz
 * @date 2012-5-10
 * @email charles.zz.life@gmail.com
 */
public interface UserService extends CommonService<User> {
	
	public User getByUsername(String username) throws ServiceException;
	
	public User getByBindIP(String bindIP) throws ServiceException;
	
	/**
	 * 转为历史用户
	 * @param ids
	 * @return 成功数
	 * @throws DataAccessException
	 */
	public int transUserToHis(List<String> ids,Operator operator) throws ServiceException ; 
}
